#ifndef _C_VIEW_H_
#define _C_VIEW_H_

#include <windows.h>

class SRenderer;
class CImage;

struct CViewDesc 
{
	int			id;
	int			x, y, width, height;

	CViewDesc() : id(0){}
};

class CView
{
public:
	CView(HWND hWnd, CViewDesc& oDesc);
	virtual ~CView();

	virtual void	init			(){}
	virtual bool	loadTexture		(CImage& oImage) = 0;
	virtual void	unloadTexture	(CImage& oImage) = 0;
	virtual void	render			() {}

	HWND	m_hWnd;
	int		m_iId;
};

#endif